package com.aizhixin.test.question.dto;

import javax.persistence.Column;
import javax.persistence.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description="题目选项")

@NoArgsConstructor
@ToString//(exclude= {"question"})
public class QuestionOptionDTO {

	@ApiModelProperty(value="选项")	
	@Getter@Setter private String option;
	
	@ApiModelProperty(value="选项内容")	
	@Getter@Setter private String optionContent;
	
  
	@ApiModelProperty(value="对应的问题的题号")
	@Getter @Setter private Long questionID;
	
	public QuestionOptionDTO(String option,String optionContent,Long questionID) {
		option=this.option;
		optionContent=this.optionContent;
		questionID=this.questionID;
		
	}
}
